﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="CatPaqueteRegistro.aspx.cs" Inherits="CLab.PagAdminLab.CatPaqueteRegistro" %>

<%@ MasterType VirtualPath="~/Site.Master" %>
<asp:Content ID="c1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src='<%=ResolveUrl("../Scripts/CatPaqueteRegistro.js")%>'></script>
</asp:Content>
<asp:Content ID="c2" ContentPlaceHolderID="MainContent" runat="server">
    <table width="100%">
        <tr>
            <td>
                Nombre:
            </td>
            <td>
                <asp:UpdatePanel ID="upd0" runat="server">
                    <ContentTemplate>
                        <ganda:TextBox ID="txtPaquete" runat="server" Width="350px" EnabledValidator="true" />
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
            <td>
                Precio:
            </td>
            <td>
                <asp:UpdatePanel ID="upd6" runat="server">
                    <ContentTemplate>
                        <ganda:TextBoxNumeric ID="txtPrecio" runat="server" EnabledValidator="true" Width="100px" Mask="9,999.99" MaskType="Number" EnabledMasked="true" InputDirection="RightToLeft" />
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <table>
                    <tr>
                        <td style="text-align: center">
                            Estudios
                        </td>
                        <td style="width: 80px">
                            &nbsp;
                        </td>
                        <td style="text-align: center">
                            Estudios del paquete
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:UpdatePanel ID="upd1" runat="server">
                                <ContentTemplate>
                                    <ganda:ListBox ID="lstEstudios" runat="server" Width="350px" Height="150px" 
                                        SelectionMode="Multiple" />
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                        <td align="center">
                            <asp:UpdatePanel ID="upd2" runat="server">
                                <ContentTemplate>
                                    <asp:Button ID="btnAgregar" runat="server" Text=">" OnClick="btnAgregar_Click" />
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            <br />
                            <asp:UpdatePanel ID="upd3" runat="server">
                                <ContentTemplate>
                                    <asp:Button ID="btnQuitar" runat="server" Text="<" OnClick="btnQuitar_Click" />
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                        <td>
                            <asp:UpdatePanel ID="upd4" runat="server">
                                <ContentTemplate>
                                    <ganda:ListBox ID="lstEstPaq" runat="server" Width="350px" Height="150px" SelectionMode="Multiple" />
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <div class="toolBarAcciones">
        <asp:UpdatePanel ID="upd5" runat="server">
            <ContentTemplate>
                <asp:Button ID="btnGuardar" runat="server" Text="Guardar" CssClass="boton" 
                    onclick="btnGuardar_Click" />&nbsp;
                <asp:Button ID="btnNuevo" runat="server" Text="Nuevo" CssClass="boton" 
                    onclick="btnNuevo_Click" />&nbsp;
                <asp:Button ID="btnRegresar" runat="server" Text="Regresar" CssClass="boton" OnClientClick="return Regresar();" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <script type="text/javascript">
        var btnGuardar = '<%=btnGuardar.ClientID %>'
        var btnRegresar = '<%=btnRegresar.ClientID %>'
        var btnNuevo = '<%=btnNuevo.ClientID %>'
    </script>
</asp:Content>
